package com.jike.shop.cloud.model.goods;

import com.baomidou.mybatisplus.annotation.TableName;
import com.jike.shop.cloud.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_property_name")
@ApiModel(value="goods_property_name对象", description="商品属性名称")
public class GoodsPropertyName extends BaseModel {
    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "供应商id")
    private Long supplierId;

    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "是否允许别名")
    private Boolean isAllowAlias;

    @ApiModelProperty(value = "是否为颜色属性")
    private Boolean isColor;

    @ApiModelProperty(value = "是否为枚举值")
    private Boolean isEnum;

    @ApiModelProperty(value = "是否为输入属性")
    private Boolean isInput;

    @ApiModelProperty(value = "是否为关键属性")
    private Boolean isKey;

    @ApiModelProperty(value = "是否为销售属性")
    private Boolean isSale;

    @ApiModelProperty(value = "是否为搜索字段")
    private Boolean isSearch;

    @ApiModelProperty(value = "是否为必须属性")
    private Boolean isMust;

    @ApiModelProperty(value = "是否为多选")
    private Boolean isMulti;

    @ApiModelProperty(value = "状态")
    private Boolean status;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
